package io.zhiller.koinbasictemplate.di.repo

import io.zhiller.koinbasictemplate.data.model.BasicModel
import io.zhiller.koinbasictemplate.di.provider.BasicProvider

interface BasicRepo {
  fun getDataWithParam(index: Int): BasicModel
}

class BasicRepoImpl : BasicRepo {
  private val dataList = BasicProvider.basicList
  override fun getDataWithParam(index: Int): BasicModel {
    return dataList[index]
  }
}